package com.ls.controller.user.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @ClassName LonginModel
 * @Description 用户登录model
 * @Author TangQuanBin
 * @Date 2019/9/16 17:14
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LoginModel {
    @NotNull(message = "账号不得为空")
    private String account;

    @NotNull(message = "密码不得为空")
    private String password;

    @NotBlank(message = "验证码不得为空")
    private String verifyCode;
}
